package com.zut.fitness.service.impl;


import com.zut.fitness.service.IGroupClassService;
import com.zut.fitness.mapper.GroupClassMapper;
import com.zut.fitness.pojo.GroupClass;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 团课列表Service业务层处理
 * 
 * @author yuanML2018
 * @date 2025-01-04
 */
@Service
public class GroupClassServiceImpl implements IGroupClassService
{
    @Autowired
    private GroupClassMapper groupClassMapper;

    /**
     * 查询团课列表
     * 
     * @param id 团课列表主键
     * @return 团课列表
     */
    @Override
    public GroupClass selectGroupClassById(Long id)
    {
        return groupClassMapper.selectGroupClassById(id);
    }

    /**
     * 查询团课列表列表
     * 
     * @param groupClass 团课列表
     * @return 团课列表
     */
    @Override
    public List<GroupClass> selectGroupClassList(GroupClass groupClass)
    {
        return groupClassMapper.selectGroupClassList(groupClass);
    }


}
